import { Authority } from '../request'

const { post, get } = Authority


// 推送新增更改
export const pushAdd = params => post('/api/push-rule/v1/add', params)
// 推送列表
export const getPushQuery= params => get('/api/push-rule/v1/queryList', { params })
// 推送下拉列表
export const getPushSelectQuery= params => get('/api/push-rule/v1/querySelectList', { params })
// 规则新增更改
export const pushAddRule = params => post('/api/push-rule/v1/addRule', params)
// 规则列表
export const getRuleQuery= params => get('/api/push-rule/v1/queryRuleList', { params })
//

// 推送规则关联工程
export const getRelation= params => get('/api/push-rule/v1/relation', { params })


